package com.sansan.qiangji.service.inter.base;

import com.sansan.qiangji.VO.board.ShelveUseRateVO;
import com.sansan.qiangji.entity.base.Shelve;
import com.sansan.qiangji.entity.base.example.ShelveExample;
import com.sansan.qiangji.form.base.ShelveListForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShelveService {
    List<Shelve> findAllShelve();

    long countByExample(ShelveExample example);

    int deleteByExample(ShelveExample example);

    int deleteByPrimaryKey(Integer shelveId);

    int insert(Shelve record);

    int insertSelective(Shelve record);

    List<Shelve> selectByExample(ShelveExample example);

    Shelve selectByPrimaryKey(Integer shelveId);

    int updateByExampleSelective(@Param("record") Shelve record, @Param("example") ShelveExample example);

    int updateByExample(@Param("record") Shelve record, @Param("example") ShelveExample example);

    int updateByPrimaryKeySelective(Shelve record);

    int updateByPrimaryKey(Shelve record);

    List<ShelveUseRateVO> shelveStockUseRate(ShelveListForm shelveListForm);


}
